package com.caipos.mqtt.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.Date;

@Data
public class MqttData {

    @JSONField(name="Time")
    private Date thattime;

    @JSONField(name="Func")
    private String func;

    @JSONField(name="Data")
    private MqttData1Entity mqttData1Entity;

    @Override
    public String toString() {
        return "MqttData{" +
                "time=" + thattime +
                ", func='" + func + '\'' +
                ", mqttData1Entity=" + mqttData1Entity +
                '}';
    }
}
